package com.prs.crm.service;

import org.courser.service.ServiceSupport;
import org.courser.ui.PaginationSupport;

import com.prs.crm.domain.Attachment;

/**
 * 文档附件
 * @author prs.chenzhi
 *
 */
public interface AttachmentService extends ServiceSupport<Attachment> {
	
	/**
	 * 通用文档分页查询
	 * @param page 分页信息
	 * @param entityCls 文档关联对象
	 * @param attachProperty 文档关联对象属性
	 * @return 分页数据
	 */
	 PaginationSupport listAttachment(PaginationSupport page,Class<?> entityCls,String attachProperty);
}
